.class public Lcom/xingbook/c/f;
.super Ljava/lang/Object;


# instance fields
.field public a:Lcom/xingbook/c/g;

.field public b:[B

.field public c:Ljava/lang/Object;


# direct methods
.method public constructor <init>(Lcom/xingbook/c/g;Ljava/lang/Object;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    iput-object p2, p0, Lcom/xingbook/c/f;->c:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public a()Ljava/io/InputStream;
    .locals 2

    iget-object v0, p0, Lcom/xingbook/c/f;->b:[B

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Ljava/io/ByteArrayInputStream;

    iget-object v1, p0, Lcom/xingbook/c/f;->b:[B

    invoke-direct {v0, v1}, Ljava/io/ByteArrayInputStream;-><init>([B)V

    goto :goto_0
.end method

.method public a(Ljava/io/InputStream;)V
    .locals 3

    const/4 v0, 0x2

    new-array v0, v0, [B

    invoke-virtual {p1, v0}, Ljava/io/InputStream;->read([B)I

    const/4 v1, 0x0

    aget-byte v1, v0, v1

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x8

    const/4 v2, 0x1

    aget-byte v0, v0, v2

    and-int/lit16 v0, v0, 0xff

    or-int/2addr v0, v1

    new-array v0, v0, [B

    iput-object v0, p0, Lcom/xingbook/c/f;->b:[B

    iget-object v0, p0, Lcom/xingbook/c/f;->b:[B

    invoke-virtual {p1, v0}, Ljava/io/InputStream;->read([B)I

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    invoke-interface {v0, p0}, Lcom/xingbook/c/g;->a(Lcom/xingbook/c/f;)V

    :cond_0
    return-void
.end method

.method public b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    iget-object v1, p0, Lcom/xingbook/c/f;->c:Ljava/lang/Object;

    invoke-interface {v0, v1}, Lcom/xingbook/c/g;->a(Ljava/lang/Object;)V

    :cond_0
    return-void
.end method

.method public c()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    iget-object v1, p0, Lcom/xingbook/c/f;->c:Ljava/lang/Object;

    invoke-interface {v0, v1}, Lcom/xingbook/c/g;->b(Ljava/lang/Object;)V

    :cond_0
    return-void
.end method

.method public d()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    iget-object v1, p0, Lcom/xingbook/c/f;->c:Ljava/lang/Object;

    invoke-interface {v0, v1}, Lcom/xingbook/c/g;->c(Ljava/lang/Object;)V

    :cond_0
    return-void
.end method

.method public e()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    iget-object v1, p0, Lcom/xingbook/c/f;->c:Ljava/lang/Object;

    invoke-interface {v0, v1}, Lcom/xingbook/c/g;->e(Ljava/lang/Object;)V

    return-void
.end method

.method public f()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/c/f;->a:Lcom/xingbook/c/g;

    iget-object v1, p0, Lcom/xingbook/c/f;->c:Ljava/lang/Object;

    invoke-interface {v0, v1}, Lcom/xingbook/c/g;->d(Ljava/lang/Object;)V

    return-void
.end method
